﻿using BootstrapBlazor.Components;
using System.ComponentModel.DataAnnotations;
using System.Xml.Linq;
using TrackSystem.Entities.Dtos.Channel;
using TrackSystem.Entities.Dtos.Equip;

namespace TrackSystem.Entities.Dtos.Sensor
{
    public class SensorWithChannelDto : SensorDto
    {
        [Display(Name = "通道信息")]
        [AutoGenerateColumn(Order = 100)]
        public ChannelDto? Channel { get; set; }

        [Display(Name = "设备信息")]
        [AutoGenerateColumn(Order = 200)]
        public EquipDto? Equip { get; set; }
    }
}
